﻿using AuSys.Models;

namespace AuSys.Test.TestSupport.Fakes
{
    public class FakeEntity:IDbModel, ITreeNode
    {
        public int Id { get; set; }
        public string? Name { get; set; }
        public string? Intro { get; set; }
        public int ParentId { get; set; }
        public DateTime LastUpdate { get; set; }
        public bool Deleted { get; set; }
    }
    public class FakeEntityCache(int id, string? name, int parentId): ITreeNode
    {
        public int Id { get; set; } = id;
        public int ParentId { get; set; } = parentId;
        public string? Name { get; set; } = name;
    }
}
